//
//  Content1TableViewCell.m
//  PlayerWorld
//
//  Created by 汪的一声就哭了！ on 16/8/17.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "Content1TableViewCell.h"

@implementation Content1TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.firstLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.firstLabel];
        
        self.secLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.secLabel];
        self.secLabel.textColor = [UIColor colorWithRed:153.0/255.0 green:153.0/255.0 blue:153.0/255.0 alpha:1];
        self.secLabel.font = [UIFont systemFontOfSize:14];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.firstLabel.frame = CGRectMake(10, 15, self.contentView.bounds.size.width-20, 20);
    self.secLabel.frame = CGRectMake(10, 35, self.contentView.bounds.size.width-20, 20);
}
@end
